/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023.
 * Description: support lock MSR_IA32_FEAT_CTL register for x86
 * Author: Abbott Liu <liuwenliang@huawei.com>
 * Create: 2023-09-14
 */
#ifndef LOCK_IA32_FEAT_CTRL_H
#define LOCK_IA32_FEAT_CTRL_H

#ifdef CONFIG_RTOS_HAL_LOCK_IA32_FEAT_CTL
extern void lock_ia32_feat_ctl(void);
#else
static inline void lock_ia32_feat_ctl(void) {}
#endif
#endif /* LOCK_IA32_FEAT_CTRL_H */
